package com.zhang.learns.mybatisplus.controller;

import com.zhang.learns.mybatisplus.entity.Student;
import org.apache.ibatis.type.TypeReference;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author zhanghaolian
 * @date 2022/7/9 22:14
 */
@RestController
public class TestController extends TypeReference<Student> {
    @GetMapping("/test")
    public void test() {
        System.out.println("111");
    }

    public void getRowType() {
        System.out.println(super.getRawType().getTypeName());
    }
}
